import {Injectable} from "@angular/core";
import {services} from "../../providers/service";
import {interfaceUrls} from "../../providers/serverUrls";
@Injectable()

export class AddChildService extends services {
    addChildAccount(param) {
        return this.postMethod(interfaceUrls.addChildAccount, param)
            .then(data => {
                return data;
            }, err => {
                console.log('失败回调');
                return err;
            })
            .catch(fail => {
                console.log('异常了', fail);
            });
    }
}